package com.markerhub.service;

import com.markerhub.common.lang.Result;
import com.markerhub.entity.Notice;
import com.baomidou.mybatisplus.extension.service.IService;
import org.springframework.web.multipart.MultipartFile;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author MarkerHub
 * @since 2022-04-20
 */
public interface NoticeService extends IService<Notice> {

    Result noticePublish(Notice notice, MultipartFile file);

    List<Notice> getNoticeList();

    Result updateNotice(Notice notice, MultipartFile file);
}
